package com.szrt.day20161027.zhongji.dao;

import com.szrt.day20161027.zhongji.entity.StudentEntity;

public interface StudentDao {
	
	
	/**
	 * 新增学生
	 * @param entity
	 * @return
	 */
	int add(StudentEntity entity) throws Exception;
	
	
	/**
	 * 根据id删除
	 * @param id
	 * @return
	 * @throws Exception
	 */
	int delete(int id) throws Exception;

}
